package org.sportspace.base.domain

/**
 * 运动场地
 */
class SportTable {

    static hasMany = [sportTypes:SportType]

    String id
    String name
    float width
    float height
    //容量以人为单位
    int size
    //close,inUse,unUse
    String status
    SportSpace sportSpace

    float lastPrice=0.0
    float curentPrice=0.0

    static constraints = {
    }

    static mapping = {
        id(generator:"uuid")
    }
}
